package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author chq
 * @since 2023-08-23
 */
@Data
@Getter
@Setter
@ApiModel(value = "Dwsb对象", description = "")
public class Dwsb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String gsdwglGuid;

    private String gsdwglDwzzbh;

    private String gsdwglDwzznm;

    private String gsdwglDwzzmc;

    private String gsdwglFlbh;

    private String gsdwglFlmc;

    private String gsdwglDblinkid;

    private String gsdwglFjm;

    private String gsdwglJs;

    private String gsdwglMx;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("GSDWGL_GUID;GSDWGL_DWZZBH;GSDWGL_DWZZNM;GSDWGL_DWZZMC;GSDWGL_FLBH;GSDWGL_FLMC;GSDWGL_DBLINKID;GSDWGL_FJM;GSDWGL_JS;GSDWGL_MX".split(";")));
    }

    public String[] getFields() {
        return new String[]{"gsdwglGuid","gsdwglDwzzbh","gsdwglDwzznm","gsdwglDwzzmc","gsdwglFlbh","gsdwglFlmc","gsdwglDblinkid","gsdwglFjm","gsdwglJs","gsdwglMx"};
    }

}
